﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Program
    {
        static void Main(string[] args)
        {
            staff staff = new staff();
            staff.userID = "123456";
            staff.userName = "李四";
            staff.department = "技术部";
            staff.staff1();


            Class1 cl1 = new Class1();
            cl1.SumUtils1(2 + 1);
            Console.Read();

            area A1 = new area("圆");
            area A2 = new area("长方形");
            Console.WriteLine("{0}的面积是{1}", A1.Name, A1.CircleArea1(4));
            Console.WriteLine("{0}的面积是{1}", A2.Name, A2.RectangleArea1(1, 2));
            
            
        }
    }
}
